home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: View offsets when embeded
- Sent: 7/12/96 1:56 PM
- Received: 7/12/96 2:09 PM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >Hi ODF team,
- >
- >My part uses an offscreen bitmap to draw the content into, which is then
- >blasted back to the main view of my frame. When I edit the objects in that
- >view however I do it directly in the view, so the view and the offscreen
- >bitmap must be perfectly registered. I have accomplished this feat when I
- >launch my part directly. However, when I embed my part into ODF draw and
- >try to edit an object it appears 2-3 pixels off in both x & y directions.
- >This also appears to be the width of the dbl-line border around my frame.
- >Obviously, the view offsets are different when embeded vs. not embeded.
- >
- >Would you please enlighten me on the differences in transforms, etc. for
- >these two cases, and where I might be in error in my code?
- >
- >Thanks in advance,
- >Scott
- >--
- >Scott Daniels scottdfl@sprynet.com
- >"Life appears the way you choose to see it."
-
- Does it happen only with ODF based containers?. Do you get the same
- result with for example the PanelEditor part?
-
- ........................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- ........................................................................
-
-
-